package cn.sll.system.mapper;

import cn.sll.system.domain.Menu;
import cn.sll.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sll
 * @since 2023-01-03
 */
public interface MenuMapper extends BaseMapper<Menu> {

    void addRoleMenu(@Param("rid") Long rid, @Param("menus") List<Long> menus);

    void deleteRoleMenu(Long id);

    List<Menu> findMenusBuLoginInfoId(Long loginInfoId);
}
